<?php
if ($dataList) {
?>
    <div style="padding:0;border-bottom:1px solid #e6e6e6;height:auto;margin:0;">
        <div style="height:20px; overflow:hidden;color:#ffffff">.</div>
        <dl style="padding:0;margin:0;">
            <dt style="font-size:16px;font-weight:bold;color:#333">求职经历</dt>
            <dd style="margin:0 0 0 25px;padding:0;">
            <?php
            $index = 1;
             
            foreach ($dataList as $data) {
                if ($index == 1) {
                    echo '<div style="border-bottom:1px dashed #e6e6e6;">
						<dl style="padding:0;margin:0;">';
                }

                $jobType = !empty($jobhistorytype[$data['jobtype']]) ? $jobhistorytype[$data['jobtype']] : '';

                echo '<table style="border:none;border-collapse:collapse;border-spacing:0; vertical-align:top; table-layout:fixed;">
			<colgroup>
                            <col width="70">
                            <col width="550">
                        </colgroup>
                        <tbody>
                            <tr>
                               <td height="8" colspan="2"></td>
                            </tr>
                            <tr>
                                <td style="font-size:14px;font-weight:bold;color:#3d990f" colspan="2">
                                      ' . $data['gettime'] . '   ' . $data['company'] . ' ' . $data['jobname'] . ' ' . $jobType . '
                                </td>
                            </tr>
                            <tr>
                                <td height="1" colspan="2"></td>
                            </tr>
                            <tr>
                                <td height="10" colspan="2"></td>
                            </tr>
                        </tbody>
                      </table>';

                if ($index == 1) {
                    echo '</dl></div>';
                }
                $index++;
            }
            ?>
            <div style="height:10px;overflow:hidden;color:#ffffff;">.</div>
        </dd>
    </dl>
</div>
<?php
        }
?>
